<style type="text/css">
    .table tr td:nth-child(1){
        text-align: right;
        line-height: 2em;
    }
    .table tr td:nth-child(2){
        width: 150px;
    }
    .stafflist{
        width: 60px;text-align: center;float: left;
    }
    .stafflist img{
        width: 40px;
        height: 40px;
        margin: 10px;
        border-radius:50%;
    }
    .level{
        width: 100px;text-align: center;float: left;padding-top:18px;
        margin-left: 30px;
    }
    .level span:first-child{
        line-height: 2em
    }
</style>
<div id="add-form" class="form-horizontal">
    {:token()}
    <input type="hidden" name="ids" value="{$row.id}"/>
    <input type="hidden" name="row[obj_id]" value="{$row.obj_id}"/>
    <input type="hidden" name="row[year]" value="{$row.year}"/>
    <input type="hidden" name="row[status]" value="{$row.status}"/>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-1">员工:</label>
        <div class="col-xs-12 col-sm-4">
            <p class="form-control" disabled>{$row.staff.name}</p>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-1">考核目标:</label>
        <div class="col-xs-12 col-sm-4">
            <p class="form-control" disabled>{eq name="$row.status" value="1"}合同金额{else/}回款金额{/eq}</p>
        </div>
    </div>

    <div class="form-group " >
        <div  style="width:100%;text-align: center;line-height: 2em;display: flex;
		justify-content: center;align-items: center;border:1px solid #f6f6f6;padding: 10px">
            {$row.year} 的年度目标是￥
            <input type="number" name="row[yeartarget]" readonly style="border:1px solid #ccc;width: 100px" id="yeartarget" value="{$row.yeartarget|round=###,2}"> 元

        </div>
    </div>
    <div class="form-group">
        <div class="col-xs-12 col-sm-3">
            <table class="table">
                <tr>
                    <td>第一季度</td>
                    <td><p id="one" class="form-control" disabled></p></td>
                </tr>
                <tr>
                    <td>一月份</td>
                    <td><input type="number" name="row[january]" id="january" min="0"
                               class="form-control month" value="{$row.january|default=0}"/></td>
                </tr>
                <tr>
                    <td>二月份</td>
                    <td><input type="number" name="row[february]" id="february" min="0" class="form-control month" value="{$row.february|default=0}"/>
                    </td>
                </tr>
                <tr>
                    <td>三月份</td>
                    <td><input type="number" name="row[march]" id="march" min="0" class="form-control month" value="{$row.march|default=0}"/>
                    </td>
                </tr>
            </table>
        </div>
        <div class="col-xs-12 col-sm-3">

            <table class="table">
                <tr>
                    <td>第二季度</td>
                    <td><p id="two" class="form-control" disabled></p></td>
                </tr>
                <tr>
                    <td>四月份</td>
                    <td><input type="number" name="row[april]" id="april" min="0"
                               class="form-control month" value="{$row.april|default=0}"/></td>
                </tr>
                <tr>
                    <td>五月份</td>
                    <td><input type="number" name="row[may]" id="may" min="0" class="form-control month" value="{$row.may|default=0}"/>
                    </td>
                </tr>
                <tr>
                    <td>六月份</td>
                    <td><input type="number" name="row[june]" id="june" min="0" class="form-control month" value="{$row.june|default=0}"/>
                    </td>
                </tr>
            </table>
        </div>
        <div class="col-xs-12 col-sm-3">

            <table class="table">
                <tr>
                    <td>第三季度</td>
                    <td><p id="three" class="form-control" disabled></p></td>
                </tr>
                <tr>
                    <td>七月份</td>
                    <td><input type="number" name="row[july]" id="july" min="0" class="form-control month" value="{$row.july|default=0}"/></td>
                </tr>
                <tr>
                    <td>八月份</td>
                    <td><input type="number" name="row[august]" id="august" min="0" class="form-control month" value="{$row.august|default=0}"/>
                    </td>
                </tr>
                <tr>
                    <td>九月份</td>
                    <td><input type="number" name="row[september]" id="september" min="0" class="form-control month" value="{$row.september|default=0}"/>
                    </td>
                </tr>
            </table>
        </div>
        <div class="col-xs-12 col-sm-3">

            <table class="table">
                <tr>
                    <td>第四季度</td>
                    <td><p id="four" class="form-control" disabled></p></td>
                </tr>
                <tr>
                    <td>十月份</td>
                    <td><input type="number" name="row[october]" id="october" min="0" class="form-control month" value="{$row.october|default=0}"/></td>
                </tr>
                <tr>
                    <td>十一月份</td>
                    <td><input type="number" name="row[november]" id="november" min="0" class="form-control month" value="{$row.november|default=0}"/>
                    </td>
                </tr>
                <tr>
                    <td>十二月份</td>
                    <td><input type="number" name="row[december]" id="december" min="0" class="form-control month" value="{$row.december|default=0}"/>
                    </td>
                </tr>
            </table>
        </div>
    </div>




</div>
